Skip to content

<tab> only moves item to top if otherwise extending beyond window#51

Open
odabrunz wants to merge 8 commits intohsitz:masterfrom
odabrunz:master
Open

<tab> only moves item to top if otherwise extending beyond window#51
odabrunz wants to merge 8 commits intohsitz:masterfrom
odabrunz:master

Conversation

@odabrunz
Copy link
Copy Markdown

Hello H. Sitz,

my repo now has a tiny patch that changes the behavior of <tab> (OrgCycle()). It is now more similar to the behavior in emacs orgmode: an item is only moved to the top of the window if, after opening, it extends beyond the last line of the window.

This reduces the jumping around of window contents when using <tab>.

If you like this patch, please pull it.

Regards,

Olaf

@hsitz
Copy link
Copy Markdown
Owner

hsitz commented Nov 15, 2012

On Fri, Oct 19, 2012 at 12:03 AM, Olaf Dabrunz notifications@github.qkg1.topwrote:

Hello H. Sitz,

my repo now has a tiny patch that changes the behavior of (OrgCycle()). It
is now more similar to the behavior in emacs orgmode: an item is only moved
to the top of the window if, after opening, it extends beyond the last line
of the window.

This reduces the jumping around of window contents when using .

If you like this patch, please pull it.

Olaf --

Thanks, I incorporated your changes. I knew behavior wasn't quite like Org
but I hadn't taken the time to figure out exactly what difference was.
Plus, you had a good solution.

Regards,

Herb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants